import com.westos.service.UserService;

/**
 * @Description:
 * @Author: 大强
 * @CreateTime: 2020/1/8
 * @Company: 西部开源教育科技有限公司
 */
public class UserServiceFactory {

    public static UserService create(int type){
        if(type==1){
            return  new UserService();
        }else{
            return new MockUserService();
        }
    }
}
